/**
 * 系统备份接口
 */
import request from '@/utils/request'

export default {
  isTrans(params) {
    return request({
      url: '/business/file/isTrans',
      method: 'post',
      params
    })
  },
  addInit() {
    return request({
      url: '/business/claims/addInit',
      method: 'get'
    })
  },
  backUpDownload(params) {
    return request({
      url: '/business/file/backUpDownload',
      method: 'post',
      params,
      responseType: 'blob',
      headers: { 'Content-Type': 'application/x-www-form-urlencoded' }

    })
  },
  findAllBackUp(params) {
    return request({
      url: '/business/file/findAllBackUp',
      method: 'post',
      params
    })
  }
}
